package lagou.mode3.mode4;

import java.io.BufferedReader;
import java.io.IOException;

public class ClientInput extends Thread{
    private BufferedReader br;
    @Override
    public void run(){
        try {
            while (true) {
                String str2=br.readLine();
                System.out.println(str2);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    public ClientInput(BufferedReader br){
        this.br=br;
    }
}
